package com.hui.model.storeproduct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 商品点赞和收藏表 查询参数对象
 */
@Data
@ApiModel(
        value = "StoreProductRelationQueryParam (商品点赞和收藏查询参数)",
        description = "商品点赞和收藏参数"
)
public class StoreProductRelationQueryParam implements Serializable {

    @NotBlank(message = "参数有误")
    @ApiModelProperty(value = "商品id", required = true)
    private String id;

    @ApiModelProperty(value = "某种类型的商品(普通商品、秒杀商品)")
    //收藏的参数 或 足迹的参数
    private String category;

}

